package org.example.springcloud.service;

import org.example.springcloud.vo.ResultVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description:
 * @Author: y
 * @CreateDate: 7/30/21 8:42 AM
 * @Version: 1.0
 */
@FeignClient(value = "NACOS-PAYMENT-PROVIDER")
public interface PaymentService {

    @GetMapping(value = "/paymentSQL/{id}")
    public ResultVO<?> paymentSQL(@PathVariable("id") Long id);

}